Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose unified list_balances interface method #250

Merged
merged 4 commits into from
Feb 23, 2024

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented Feb 15, 2024

Fixes #212.

@tnull tnull marked this pull request as draft February 15, 2024 10:42
@tnull tnull force-pushed the 2024-02-unified-balance-interface branch 5 times, most recently from 122fd00 to d765fb6 Compare February 15, 2024 14:51
@tnull tnull changed the title Expose unified list_balance interface method Expose unified list_balances interface method Feb 15, 2024
@tnull tnull mentioned this pull request Feb 15, 2024
19 tasks
@tnull tnull added this to the 0.3 milestone Feb 15, 2024
@tnull tnull force-pushed the 2024-02-unified-balance-interface branch from d765fb6 to 8495bc7 Compare February 15, 2024 15:04
@tnull tnull requested a review from wpaulino February 16, 2024 14:20
@tnull tnull marked this pull request as ready for review February 16, 2024 14:20
@tnull
Copy link
Collaborator Author

tnull commented Feb 16, 2024

Should be good for review. Will rebase #141 on top of this as BalanceDetails should also reflect the Anchor channel reserve.

src/balance.rs Outdated Show resolved Hide resolved
src/balance.rs Outdated Show resolved Hide resolved
src/balance.rs Outdated Show resolved Hide resolved
src/balance.rs Show resolved Hide resolved
src/balance.rs Outdated Show resolved Hide resolved
@tnull tnull force-pushed the 2024-02-unified-balance-interface branch from 49fd02b to 7d88944 Compare February 22, 2024 10:56
@wpaulino
Copy link

LGTM after squash

@tnull tnull force-pushed the 2024-02-unified-balance-interface branch from 7d88944 to 6883949 Compare February 23, 2024 08:02
@tnull
Copy link
Collaborator Author

tnull commented Feb 23, 2024

LGTM after squash

Squashed fixups and rebased to resolve minor conflicts.

This was discussed upstream but reverted for now. The field is very
confusing and misleading, and we can finally drop it now that we have a
better `list_balances` interface.
@tnull tnull force-pushed the 2024-02-unified-balance-interface branch from 6883949 to e809b23 Compare February 23, 2024 16:54
@tnull
Copy link
Collaborator Author

tnull commented Feb 23, 2024

Rebased to resolve minor conflicts (rustfmt).

@tnull tnull merged commit d6aa27c into lightningdevkit:main Feb 23, 2024
7 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unified interface listing all available balances
2 participants